package com.hngy.educationaladministration.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;
import java.io.IOException;

/**
 * @Author: Deng JunHao
 * @Date: 2021/4/12
 */
public interface UpdateSerivce {
    /**
     * 上传文件
     *
     * @param file
     * @param session
     * @return
     * @throws IOException
     */
    public Boolean upload(MultipartFile file, HttpSession session) throws IOException;
}
